/*
 * Copyright (c) 2008-2021 浩瀚深度 All Rights Reserved.
 *
 * <p>FileName: DataSourceConfig.java</p>
 *
 * @author zz
 * @date 2024/2/4
 * @version 1.0
 * History:
 * v1.0.0 2024/2/4 Create
 */
package com.sqlweb.sqlweb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * <p>Title: DataSourceConfig</p>
 * <p>Description: </p>
 *
 * @author zz
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("data_source_config")
public class DataSourceConfig {
    private Integer id;

    /**
     * 数据源名称
     */
    private String name;
    /**
     * 数据库类型
     * 1:PG 2:MYSQL 3:GP
     */
    private Integer dbType;
    /**
     * 数据库名称
     */
    private String dbName;
    private String jdbcUrl;
    private String host;
    private Integer port;
    private String username;
    private String password;
    private String driverClassName;
    /**
     * 数据表集合
     */
    private List<String> tables;
}
